<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lang="zh" xml:lang="zh">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>工具向导: 使用 Rational Rose 管理时序图</title>
<meta content="ToolMentor" name="uma.type">
<meta content="manage_sequence_diagrams" name="uma.name">
<meta content="使用 Rational Rose 管理时序图" name="uma.presentationName">
<meta content="Tool:rup_rose_classic:Rational Rose" name="uma.category">
<meta name="element_type" content="tool_mentor">
<meta content="Rational Rose" name="tool">
<meta content="description" name="filetype">
<meta name="role" content="">
<link type="text/css" href="./../../../css/default.css" rel="StyleSheet">
<script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageResource.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSubSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageToolbar.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/contentPage.js"></script><script language="JavaScript" type="text/javascript">
					var backPath = './../../../';
					var imgPath = './../../../images/';
					var nodeInfo=[{view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_gpYSoAILEdq-_NKqZM1EhA", "_qS-iwAIOEdqTna4sZVFRow", "{06FB737B-5D74-4C3B-98F4-36153CFB2E34}", "{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_zRigkAILEdq-_NKqZM1EhA", "_U5tiUAISEdqTna4sZVFRow", "{06FB737B-5D74-4C3B-98F4-36153CFB2E34}", "{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_AUv4MAIMEdq-_NKqZM1EhA", "_5ZuQsAIUEdqEutyfYo0quQ", "{06FB737B-5D74-4C3B-98F4-36153CFB2E34}", "{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_jD8dUAIbEdqEutyfYo0quQ", "_F1OgYAIbEdqEutyfYo0quQ", "{06FB737B-5D74-4C3B-98F4-36153CFB2E34}", "{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"]}];
					contentPage.preload(imgPath, backPath, nodeInfo,  '', false, false, false);
				</script>
</head>
<body>
<div id="breadcrumbs"></div>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top"><a name="Top"></a>
<div id="page-guid" value="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"></div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap="true" class="pageTitle">工具向导：使用 Rational Rose 管理时序图</td><td width="100%">
<div id="contentPageToolbar" align="right"></div>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="pageTitleSeparator"><img height="1" title="" alt="" src="./../../../images/shim.gif"></td>
</tr>
</table>
<div class="overview">
<table cellpadding="0" cellspacing="0" border="0" width="97%">
<tr>
<td width="50"><img title="" alt="" src="./../../../images/toolmentor.gif"></td><td>
<table cellpadding="0" cellspacing="0" border="0" class="overviewTable">
<tr>
<td valign="top">此工具向导描述如何使用 Rational Rose 创建时序图，该图显示对象之间的交互。</td>
</tr>
<tr>
<td>工具：<a href="./../../../core.base_rup/tools/rup_rose_classic_20F2524D.html" guid="{06FB737B-5D74-4C3B-98F4-36153CFB2E34}">Rational Rose</a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">关系</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading">相关元素</th><td class="sectionTableCell">
<ul>
<li>
<a href="./../../../core.base_rup/tasks/use_case_design_92D13EEE.html" guid="{76E2B93D-051C-4B8C-BEA1-B40A40CBD986}">用例设计</a>
</li>
<li>
<a href="./../../../core.base_rup/tasks/use_case_analysis_A6990185.html" guid="{28014615-A62F-452D-B821-30C7CAB0EC44}">用例分析</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">主要描述</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<td class="sectionTableSingleCell"><a id="Top" name="Top"></a> 
<h3>
    概述
</h3>
<p>
    以下是使用时序图描述对象之间的交互要执行的步骤摘要：
</p>
<ol>
    <li class="mvd-P">
        <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}">在用例实现下创建时序图</a>
    </li>
    <li class="mvd-P">
        <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}">将参与对象和参与者放入时序图</a>
    </li>
    <li class="mvd-P">
        <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}">描述对象之间的消息</a>
    </li>
    <li class="mvd-P">
        <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}">描述对象接收消息时执行的操作</a>
    </li>
</ol>
<p>
    有关时序图的更多详细信息，请参阅：
</p>
<ul>
    <li class="mvd-P">
        <p>
            Rational Rose 联机帮助中的 <span style="FONT-STYLE: italic"><img height="16" alt="帮助手册图标" hspace="0"             src="./../../../core.base_rup/resources/helpbook.gif" width="16" border="0" />Sequence Diagrams (Overview)</span> 主题。
        </p>
    </li>
    <li class="mvd-P">
        <img height="15" alt="手册图标" hspace="0" src="./../../../core.base_rup/resources/book.gif" width="16" border="0" /> <span         style="FONT-STYLE: italic">Using Rational Rose</span> 手册中的 <span style="FONT-STYLE: italic">Chapter 4, Introduction
        to Diagrams</span> <span style="FONT-STYLE: normal">和</span> <span style="FONT-STYLE: italic">Chapter 9,
        Interaction Diagrams and Specifications</span>。
    </li>
</ul>
<h3>
    1. <a id="Step1" name="Step1"></a>在用例实现下创建时序图<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"><img height="20" alt="回到页首" hspace="0" src="./../../../core.base_rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    为用例实现创建时序图时，请考虑将图命名为“&lt;用例名称&gt; － &lt;流类型&gt;”。此命名约定简化了对以后用例实现中参与对象的跟踪。并且，使用文档窗口为时序图所描述的场景输入简要简述。
</p>
<h3>
    2. <a id="Step2" name="Step2"></a>将参与对象和参与者放入时序图<br />
     <a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"><img height="20" alt="回到页首" hspace="0" src="./../../../core.base_rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    时序图的主要元素之一是对象。对象具有状态、行为和身份。相似对象的结构和行为在其公共类中定义。图中的每个对象都指示一个类的某个实例。未命名的对象称为类实例。在此步骤中，您要执行以下操作：
</p>
<ul>
    <li class="mvd-P">
        <p>
            将参与者拖放到时序图上。
        </p>
    </li>
    <li class="mvd-P">
        向图添加对象并确定对象所属的类。
    </li>
</ul>
<h3>
    3. <a id="Step3" name="Step3"></a>描述对象之间的消息<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"><img height="20" alt="回到页首" hspace="0" src="./../../../core.base_rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    消息是参与者和对象之间所作的沟通，表示将执行一个后续操作。它含有从源控制焦点到目标控制焦点的信息。在时序图中，一个消息图标代表一个消息。创建消息时，请使用“消息规范”中的文档字段来描述消息。
</p>
<h3>
    4. <a id="Step4" name="Step4"></a>描述对象接收消息时执行的操作<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/manage_sequence_diagrams_C11A1E78.html" guid="{70C1E98C-D6AC-4278-8554-1E000AF5A57D}"><img height="20" alt="回到页首" hspace="0" src="./../../../core.base_rup/resources/top.gif"     width="26" border="0" /></a>
</h3>
<p>
    要增强消息，可向其附加脚本。请使用时序图工具栏中的“文本框”符号。
</p></td>
</tr>
</table>
</div>
<table cellpadding="0" cellspacing="0" border="0" class="copyright">
<tr>
<td class="copyright"><p>
    &copy; &nbsp;Copyright IBM Corp.&nbsp;1987, 2006. &nbsp;All Rights Reserved.
</p></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<script language="JavaScript" type="text/javascript">
				contentPage.onload();
			</script>
</html>
